home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-01 / snip0493.zip / WINDCHIL.C < prev    next >
C/C++ Source or Header  |  1993-04-05  |  211b  |  8 lines

  1. #include <math.h>
  2.  
  3. double wind_chill(int wind_speed, int temp)
  4. {
  5.       return (((10.45 + (6.686112 * sqrt((double) wind_speed))
  6.             - (.447041 * wind_speed)) / 22.034 * (temp - 91.4)) + 91.4);
  7. }
  8.